package org.enzy.morphose.mapping.exception;

public class AmbiguousConstructorException extends RuntimeException {
    public AmbiguousConstructorException(Class intendedDestination) {
         super(String.format("Cannot determine mappable constructor for %s. " +
                 "You must have a suitable constructor annotated with the @MapsFrom annotation",
                 intendedDestination.getCanonicalName()));
    }
}
